package com.zxq.uart.frame.decoder;

import com.zxq.factory.annotate.DecoderField;
import com.zxq.factory.annotate.Frame;
import com.zxq.factory.enums.EField;
import com.zxq.uart.model.PlatformAttachDTO;
import lombok.Data;

@Frame
@Data
public class _22CardPreConsumerReport extends PlatformAttachDTO {

    @DecoderField(field = EField.Hex,param = 4)
    String cardNum;
    @DecoderField(sequence = 1,param = 1)
    Integer deductionMoney;
    @DecoderField(sequence = 2)
    Integer cardType;
    @DecoderField(sequence = 3,param = 1)
    Integer obligate;

}
